package com.miaosha;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 *
 */
//启动类当成自动化可支持配置的bean，并且能开启整个工程类基于springboot自动化配置,可自动加载很多组建，比如tomcat等
//@EnableAutoConfiguration
    @SpringBootApplication(scanBasePackages = "com.miaosha")
    @MapperScan("com.miaosha.dao")
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        SpringApplication.run(App.class,args);

    }
}
